package com.sunfield.windpower.eventbus;

/**
 * Created by wxl on 2017/4/28.
 */

public class CreateCookie {
    CookieCreatedListener listener;
    String url;

    public CreateCookie(CookieCreatedListener listener, String url) {
        this.listener = listener;
        this.url = url;
    }

    public CookieCreatedListener getListener() {
        return listener;
    }

    public String getUrl() {
        return url;
    }

    public interface CookieCreatedListener {
        void cookieCreated(String url);
    }
}
